package com.vains.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = SecurityProperties.PREFIX)
public class SecurityProperties {

    static final String PREFIX = "security";

    /**
     * jwt token加密秘钥
     */
    private String jwtSigningKey;

}
